import { IDispose } from "./IDispose";

export interface IModule extends IDispose
{
    moduleName:string;

    assets:any[];
    isInitialize:boolean;

    isNeedPreload:boolean;

    isPlayDisposeAnimation:boolean;

    startModule():void;
    excuteModuleFun(funName:string,...args):void;


    show(p:cc.Node,data?:object):void;
    hide(data?:object):void;
    
}
